package com.lab.dao;

import com.lab.pojo.Student;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentDao {
    List<Student> allStudents();//查询所有学生

    void updateStudent(Student stu);//修改

    void addStudent(Student stu);//添加

    void deleteStudent(Long[] sid);//删除

    Student findStuById(Long sid);//回显数据

    Student findStudent(Long sid);
}
